package com.njtoyo.taxi.admin.rest.wrapper.business.taxis;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

@ApiModel("注册车辆")
@Data
public class TaxiRegisterWrapper {
    @ApiModelProperty(value = "公司ID")
    @NotNull(message = "公司ID不能为空")
    private Long companyId;

    @ApiModelProperty(value = "车牌号")
    private String plateNumber;

    @ApiModelProperty(value = "发动机号")
    @NotNull(message = "发动机号不能为空")
    private String serialNumber;
}
